# 加载预训练模型
# 安装三方库 ultralytics
# 导入包 form ultralytics import YOLO

from ultralytics import YOLO

# 1. 加载模型
yolo11 = YOLO('yolo11n.pt')

# 2. 检测目标
# http://artmate-sd-2024.oss-cn-qingdao.aliyuncs.com/draw/2024/07/14/fa53ce44943a498cbe475c600f9ab63d.webp
yolo11('https://oss.artmate.com.cn/2024/12/11/8798497a2ab54161a431513643afe7de.mp4', show=True, save=True)

